import request from '@/utils/request'

/**
 * 财务专员列表
 * @param {*} data
 */
export function financeListAPI(data) {
    return request({
        url: 'finance/salary/financeList',
        method: 'post',
        data: data
    })
}

/**
 * 分配财务员
 * @param {*} data
 */
export function assignFinanceAPI(data) {
    return request({
        url: 'finance/salary/assignFinance',
        method: 'post',
        data: data
    })
}

/**
 * 工资单列表
 * @param {*} data
 */
export function financeSalaryListAPI(data) {
    return request({
        url: 'finance/salary/financeSalaryList',
        method: 'post',
        data: data
    })
}

/**
 * 工资单详情
 * @param {*} data
 */
export function financeSalaryDetailAPI(data) {
    return request({
        url: 'finance/salary/financeSalaryDetail',
        method: 'post',
        data: data
    })
}

/**
 * 导出工资单
 * @param {*} data
 */
export function financeExportSalaryAPI(data) {
    return request({
        url: 'finance/salary/financeExportSalary',
        method: 'post',
        data: data
    })
}

/**
 * 利润合计
 * @param {*} data
 */
export function achivementCountAPI(data) {
    return request({
        url: 'finance/achivement/achivementCount',
        method: 'post',
        data: data
    })
}

/**
 * 导出利润列表
 * @param {*} data
 */
export function exportAchivementCountAPI(data) {
    return request({
        url: 'finance/achivement/exportAchivementCount',
        method: 'post',
        data: data
    })
}
